import { ApiProperty } from '@nestjs/swagger';

export class CreateConfigCalcDto {
  @ApiProperty({ description: '是否开启震动:0不开启，1:开启', default: 1 })
  vibrate: number;
  @ApiProperty({ description: '震动等级:0-100级', default: 10 })
  vibrate_rate: number;
  @ApiProperty({ description: '是否静音：0开启静音，1：关闭静音', default: 1 })
  mute: number;
  @ApiProperty({ description: '保留小数位，默认2位', default: 2 })
  precision: number;
}
